<?php
/**
* Copyright 2009 Waag Society <http://www.waag.org>
* This file is part of Annotrax.
*
* Annotrax is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* Annotrax is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Annotrax.
* If not, see http://www.gnu.org/licenses/gpl.html
*/

?>
<?php
/**
 * View file for /annotation/edit
 */
?>
<div class="section">
	<div class="floatLeft">
		<em><?php echo $this->translate( "Now annotating" ) ?></em>
		<h1><em class="hilight">"<?php echo $this->movie->title ?>"</em></h1>
	</div>
	<div class="floatRight">
		<a href="<?php echo $this->url( array('action' => 'play', 'id' => $this->movie->id ), 'movie' ) ?>"><?php echo $this->translate("play movie") ?></a>
		&nbsp;
		<a class="active" href="<?php echo $this->url( array('action' => 'annotate', 'id' => $this->movie->id ), 'movie' ) ?>"><?php echo $this->translate("annotate movie") ?></a>
	</div>
</div>
<div id="movieSection" class="section">
	<?php echo $this->Player( $this->movie ); ?>
	<div id="atAnnotationBrowser">
	<?php echo $this->annotationBrowser( $this->channels, $this->annotations, $this->movie ); ?>
	</div>
</div>
<div class="section">
	<div id="atAnnotationInfo">
		<h1>
			<?php echo $this->translate("Create new annotation for "); ?>
			<a href="<?php echo $this->url(array('action' => 'play', 'id' => $this->movie->id ), 'movie') ?>"><em><?php echo $this->movie->title ?></em></a>
		</h1>
		<?php echo $this->form; ?>
	</div>
</div>
